<?php 
	header("Content-type: application/json; charset=utf-8");
?>
<?php
	include("include1.php");
	//ini_set('default_charset','utf-8');
	//header("Content-type: application/json; charset=utf-8");
	
	$verb = $_SERVER["REQUEST_METHOD"];
	//echo $verb;
	if($verb == "GET")
	{
		$arr = array();
		
		$rs = mysql_query("select * from khoiluongmoithau where 1");
		$temp="";
		while($obj = mysql_fetch_object($rs))
		{
				$arr[] = $obj;
				//$arr[]->TENCV = $obj->TENCV;
				//$temp=$obj->TENCV;
		}		
		echo "{\"data\":" . json_encode($arr , JSON_UNESCAPED_UNICODE) . "}";
	}
	
?>